//Monthly referral ratio by monthly number of births
g rrtot_1=rtotal_1/p_1
g rrtot_2=rtotal_2/p_2
g rrtot_3=rtotal_3/p_3
g rrtot_4=rtotal_4/p_4
g rrtot_5=rtotal_5/p_5
g rrtot_6=rtotal_6/p_6
g rrtot_7=rtotal_7/p_7
g rrtot_8=rtotal_8/p_8
g rrtot_9=rtotal_9/p_9
g rrtot_10=rtotal_10/p_10
g rrtot_11=rtotal_11/p_11
g rrtot_12=rtotal_12/p_12

*Total births by study period
	g par_1st=(p_1+p_2+p_3+p_4+p_5+p_6+p_7)
	g par_2nd=(p_8+p_9+p_10+p_11+p_12)

*Total number of referrals by study period
	g reftotal_1st=(rtotal_1+rtotal_2+rtotal_3+rtotal_4+rtotal_5+rtotal_6+rtotal_7)
	g reftotal_2nd=(rtotal_8+rtotal_9+rtotal_10+rtotal_11+rtotal_12)

*Monthly referral ratio by monthly number of births by study period
	g rrtotal_1st=(reftotal_1st/par_1st)
	g rrtotal_2nd=(reftotal_2nd/par_2nd)


